package com.copc.common.constants;

/**
 * 被保险人职业类别 限制
 *0219025、0219030、0219031、0219032、0219033
 *
 */
public enum RiskOccupationCodeEnum {
    A("0219025","1"),
    B("0219030","2"),
    C("0219031","3"),
    D("0219032","4"),
    E("0219033","5");



    private final String code;

    private final String value;

    RiskOccupationCodeEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    //获取编号
    public String code() {
        return code;
    }

    //获取信息
    public String value() {
        return value;
    }

    @Override
    public String toString() {
        return String.valueOf(this.code);
    }
}
